package com.wanyang.mapper;

import com.wanyang.dos.MemberFollowDO;
import com.wanyang.dos.MemberFollowDOExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberFollowDOMapper {
    long countByExample(MemberFollowDOExample example);

    int deleteByExample(MemberFollowDOExample example);

    int deleteByPrimaryKey(@Param("memberId") Integer memberId, @Param("followMemberId") Integer followMemberId);

    int insert(MemberFollowDO record);

    int insertSelective(MemberFollowDO record);

    MemberFollowDO selectOneByExample(MemberFollowDOExample example);

    List<MemberFollowDO> selectByExample(MemberFollowDOExample example);

    MemberFollowDO selectByPrimaryKey(@Param("memberId") Integer memberId, @Param("followMemberId") Integer followMemberId);

    int updateByExampleSelective(@Param("record") MemberFollowDO record, @Param("example") MemberFollowDOExample example);

    int updateByExample(@Param("record") MemberFollowDO record, @Param("example") MemberFollowDOExample example);

    int updateByPrimaryKeySelective(MemberFollowDO record);

    int updateByPrimaryKey(MemberFollowDO record);
}